﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <title></title>
    @Styles.Render("~/Content/css")
    @RenderSection("styles", required: false)
    @Scripts.Render("~/bundles/site")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    <link href="~/Content/Site.css" rel="stylesheet" />

    <link href="~/Scripts/icheck/skins/all.css" rel="stylesheet" />
    <script src="~/Scripts/icheck/js/custom.min.js"></script>
    <script src="~/Scripts/icheck/icheck.min.js"></script>
    <link href="~/Scripts/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="~/Scripts/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script src="~/Scripts/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
    <script src="~/Scripts/validate.js"></script>
    <script>
        $(document).ready(function () {
            $('.icheckbox').iCheck({
                checkboxClass: 'icheckbox_square-blue',
                radioClass: 'iradio_square-blue',
                increaseArea: '20%'
            });
            var height = getQueryString("dialogHeight");
            if (height && !isNaN(height) && parseInt(height) > 0) {
                $('#dialogContent').css({
                    "height": height + "px",
                    "max-height": height + "px",
                    "overflow": "auto",
                    "background-color":"#fff"
                });
            }
        });
    </script>
    <style>
        html {
            background: #fff;
        }
        .box-primary{
            border:none;
        }
    </style>
</head>
<body class="layout-page">
    <div id="dialogContent">
        <div class="view">
            @RenderBody()
        </div>
    </div>
    <script src="~/Scripts/app.js"></script>
    <script type="text/javascript">
        $(function () {
            _sitemap("@(ViewBag.ModuleId)");

            _alert_message = "@Session["alert_message"]";
            _alert_message_type = "@Session["alert_message_type"]";

            if (_alert_message.length > 0) {
                show_message(_alert_message, _alert_message_type);
                @{
                    Session.Remove("alert_message");
                    Session.Remove("alert_message_type");
                }
            }
        });
    </script>
    @RenderSection("scripts", required: false)
</body>
</html>
